package com.system.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.system.member.domain.R;
import com.system.member.domain.SysUser;
import com.system.member.req.UserRegisterReq;

/**
* @author java1234
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2022-08-30 10:49:41
*/
public interface SysUserService extends IService<SysUser> {


    SysUser getByEmail(String username);

    String getUserAuthorityInfo(Long userId);

    R register(UserRegisterReq req);

    R login(UserRegisterReq req);
}
